<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>&nbsp;boxphp后台管理系统</title>
<include file="Public/header" />
<script type="text/javascript" src="__PUBLIC__/Js/jquery.validate.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/myup.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/ajaxupload.3.6.js"></script>

<script type="text/javascript">
    var ajaxUrl='<{:U("logo_up")}>';
</script>
<script type="text/javascript" src="__PUBLIC__/Js/ajaxup.js"></script>
<script type="text/javascript">
$(function(){
    $("#myform").validate({
        rules: {
                 
                store_name : {
                    required: true,
                },
                store_domain : {
                    required: true,

                },
            
        },
        messages: {
                 
			    
	 
                store_name : {
                    required: '请输入商店名！',
                },
                store_domain : {
                    required : '请输入商店域名！'
                }

       },
    })
})

</script>
</head>


<body>
<div>
   
   
        <div class="list_vmall_man">
        	<div class="list_vmall_le">
        
             <include file="./Apps/BoxAdmin/View/Public/adminMenu.html" />
               
            </div>
            <div class="list_vmall_rig">
            	<ul class="breadcrumb">
                    <li><a href="<{:U('index')}>">微信帐号管理</a> </li>
                    <li class="active"><if condition="$data.store_wechat eq ''">添加微信帐号<else />修改微信帐号</if></li>
                </ul>
                <div class="list_vmall_bort">
                    <form id="myform" enctype="multipart/form-data" method="post" action="<{:U('wechatInsert')}>">
                        <input type="hidden" name="store_id" value="<{$data.store_id}>">
                    	<div class="vmall_padi">
     

                             <div class="vmall_cle">
                                <label for="input-title" class="vmall_te_le">商店名</label>
                                <div class="vmaal_rols">
                                    <input type="text" class="vmaal_sinw1 input_a1 int_wod" id="store_name" name="store_name" value="<{$data.store_name}>">
                                    
                                </div>
                            </div>
							
                             <div class="vmall_cle">
                                <label for="input-title" class="vmall_te_le">二级域名</label>
                                <div class="vmaal_rols">
                                    <input type="text" class="vmaal_sinw1 input_a1 int_wod" id="domain" name="domain" value="<{$data.domain}>">
                                    
                                </div>
                            </div>
							
							 
                            
                          
                            <div class="vmall_cle" style="">
                                <label for="input-title" class="vmall_te_le" style="" >商城LOGO：</label>
                                <div class="vmaal_rols">
								 <div id="preview"></div>
								<input type="file" id="showflag"  name="img"   />
                                 
                                    <img  id="showimg"  <if condition="$data['logo']"> src="__Img__<{$data.logo}>" </if>  width="50" style="display: inline;"/>
                                    (Logo尺寸大小宽度120px ,高度40px ,只能是png类型透明图片)
                                </div>
                            </div>

                            <div class="vmall_cle" style="margin-top:20px">
                                <label for="input-title" class="vmall_te_le">联系电话</label>
                                <div class="vmaal_rols">
                                    <input type="text" class="vmaal_sinw1 input_a1 int_wod" id="photo" name="photo" value="<{$data.photo}>"><span style="color:red;">此处不填，前台不显示，建议填写</span>
                            
                                </div>    
                            </div>
							
							   <div class="vmall_cle" style="margin-top:20px">
                                <label for="input-title" class="vmall_te_le">地址</label>
                                <div class="vmaal_rols">
                                    <input type="text" class="vmaal_sinw1 input_a1 int_wod" id="address" name="address" value="<{$data.address}>"><span style="color:red;">店铺地址</span>
                            
                                </div>    
                            </div>
							
							  <div class="vmall_cle" style="margin-top:20px">
                                <label for="input-title" class="vmall_te_le">底部信息</label>
                                <div class="vmaal_rols">
                                    <textarea type="text" class="vmaal_sinw1 input_a1 int_wod" id="copyright" name="copyright" ><{$data.copyright}></textarea><span style="color:red;">底部信息</span>
                            
                                </div>    
                            </div>
							
                             
							
    
                            <div class="vmall_cle">
                                <div class="vmaal_rols">
                                    <button class="v_mall_q_1" style="border:0; height:32px; padding-top:0; cursor:pointer;" type="submit">确&nbsp;&nbsp;定</button>
                                </div>
                            </div>

                         </div>
                     </form> 
					  
                </div>
                
            </div>
            
            
         
        </div>
        
 
    
    
    
  
</div>



</body>
</html>
